package com.nanxun.config;


import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;


/**
 *
 * 阿里云短信服务参数配置类
 * @param
 * @return
 * @author nanxun
 * @create 2025/6/22
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "aliyun.dx")
@RefreshScope
public class AliyunDxConfig {


    /**
     *
     * 阿里云平台访问API接口accessKeyID
     * @param null
     * @return
     * @author nanxun
     * @create 2025/6/22
     **/
    private String accessKeyID;


    /**
     *
     * 阿里云平台访问API接口accessKeySecret
     * @param null
     * @return
     * @author nanxun
     * @create 2025/6/22
     **/
    private String accessKeySecret;
    
    
    /**
     *
     * 短信签名
     * @param null
     * @return
     * @author nanxun
     * @create 2025/6/22
     **/
    private String signName;


    /**
     *
     * 短信模版CODE
     * @param null
     * @return
     * @author nanxun
     * @create 2025/6/22
     **/
    private String templateCode;
    
    
    /**
     *
     * API访问端点
     * @param
     * @return 
     * @author nanxun
     * @create 2025/6/22
     **/
    private String endpoint;
}
